package com.chenjf.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient("STUDENT")
public interface StudentFeign {


    @PostMapping("/student/list/{id}")
    public String list(@PathVariable Integer id);
}
